<?php

use Faker\Generator as Faker;

$factory->define(\App\Article::class, function (Faker $faker) {
    return [
        'title'=>$faker->sentence(3),
        'content'=>$faker->paragraph(10),
        'user_id'=>$faker->numberBetween(0,10)
    ];
});
